package com.wuwei.aliocr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wuwei.aliocr.domain.LessonRecord;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface LessonRecordMapper extends BaseMapper<LessonRecord> {
    void updateByDateSubjectTime(@Param("date") String date,@Param("subject") String subject,@Param("time") String time,@Param("teacherName") String teacherName);

    /**
     * 获得班级编号，班级编号是sql中lessonsrecord的remark字段
     */
    List<String>  selectClassNum();


    Integer searchIfThisTeacherWorkForMoreThan40Hours(@Param("teacher") String teacher, @Param("date") String date, @Param("theDayMinusThreeDays") String theDayMinusThreeDays);

}
